package com.gy.smartmanagement.base.api;
import com.gy.smartmanagement.process.processdevice.dagger.DeviceComponent;
import com.gy.smartmanagement.process.processdevice.dagger.DeviceModule;
import com.gy.smartmanagement.login.dagger.LoginComponent;
import com.gy.smartmanagement.login.dagger.LoginModule;

import javax.inject.Singleton;
import dagger.Component;
import retrofit2.Retrofit;

/**
 * Created by tl on 2018-8-9
 * dagger2管理依赖注入类(子模块的component必须放到这里管理)
 */
@Singleton
@Component(modules = {ApiServiceModule.class})
public interface ApiServiceComponent {
  Retrofit getRetrofit();
 LoginComponent getLoginComponent(LoginModule loginModule);
 DeviceComponent getDeviceComponent(DeviceModule deviceModule);
}
